﻿using System.ComponentModel.DataAnnotations;

namespace BW.Model
{
    /// <summary>
    /// 用户信息表
    /// </summary>
    public class UserModel
    {
        /// <summary>
        /// 用户主键
        /// </summary>
        [Key]
        public int Uid { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string Uname {  get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Set {  get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime Barder { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone {  get; set; }
        /// <summary>
        /// 证件号
        /// </summary>
        public string ZJH {  get; set; }
        /// <summary>
        /// 证件类型
        /// </summary>
        public string Zid {  get; set; }
        /// <summary>
        /// 职业类型
        /// </summary>
        public int Tid {  get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string Adress {  get; set; }
        /// <summary>
        /// 状态:0=启用,1=禁用
        /// </summary>
        public int Sarter { get; set; } = 0;
    }
}
